package entity;

public class DiaSemana {
 
	private int dia_inicio;
	 
	private int dia_fim;
	 
    public int getDia_fim() {
        return dia_fim;
    }

    public void setDia_fim(int dia_fim) {
        this.dia_fim = dia_fim;
    }

    public int getDia_inicio() {
        return dia_inicio;
    }

    public void setDia_inicio(int dia_inicio) {
        this.dia_inicio = dia_inicio;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DiaSemana other = (DiaSemana) obj;
        if (this.dia_inicio != other.dia_inicio) {
            return false;
        }
        if (this.dia_fim != other.dia_fim) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 97 * hash + this.dia_inicio;
        hash = 97 * hash + this.dia_fim;
        return hash;
    }

    @Override
    public String toString() {
        return "DiaSemana{" + "dia_inicio=" + dia_inicio + "dia_fim=" + dia_fim + '}';
    }
	 
}
 
